/**
 * Return resource path base on `import.meta.url`
 * @param path begin at `src`
 * @example
 * ```js
 * GetStaticResource('/assets/three/test.obj')
 * ```
 */
export default (path: string) => new URL('..' + path, import.meta.url).href;
